package inits

import (
	"context"
	"github.com/elastic/go-elasticsearch/v7"
	"github.com/redis/go-redis/v9"
	"go.mongodb.org/mongo-driver/mongo"
	"gorm.io/gorm"
	"shop-microservices/basic/config"
)

var (
	Config config.Appconf
	DB     *gorm.DB
	Rdb    *redis.Client
	Ctx    = context.Background()
	Es     *elasticsearch.Client
	Db     *redis.Client
	Mongo  *mongo.Collection //mongodb数据存储表
)
